package com.github.cyf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.cyf.common.base.AbstractBaseDO;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@TableName("user_oper_log")
@NoArgsConstructor
@AllArgsConstructor
public class UserLogDO extends AbstractBaseDO {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 操作内容
     */
    private String operation;

    /**
     * 耗时
     */
    private Long time;

    /**
     * IP
     */
    private String ip;

    /**
     * 操作地点
     */
    private String location;

    /**
     * 应答码
     */
    private String responseCode;

    /**
     * 操作方法
     */
    private String method;

    /**
     * 参数内容
     */
    private String params;

    /**
     * 应答内容
     */
    private String responseText;
}